using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

/// <summary>
/// Summary description for OrderFoodInfo
/// </summary>
public class OrderFoodInfo
{
    #region Fields

    private string orderID;
    private string customerName;
    private string deliverName;
    private string deliverAddress;
    private string email;
    private string phone;
    private string acc_no;
    private DateTime dateOfOrder;
    private string timeNeedDeliver;
    private string description;
    private bool status;

    IList<OrderingFoodDetailsInfo> orderingFoodDetailsInfo;
    


    #endregion

    #region Constructors
    public OrderFoodInfo()
	{
		//
		// TODO: Add constructor logic here
		//
    }

    public OrderFoodInfo(string _orderID, string _custName, string _deliverName,
                            string _deliverAddress, string _email, string _phone,
                            string _acc_no, DateTime _dateOrder, 
                        string _timeNeedDeliver,  string _description, bool _status)
    {
        this.orderID = _orderID;
        this.customerName = _custName;
        this.deliverName = _deliverName;
        this.deliverAddress = _deliverAddress;
        this.email = _email;
        this.phone = _phone;
        this.acc_no = _acc_no;
        this.dateOfOrder = _dateOrder;
        this.timeNeedDeliver = _timeNeedDeliver;
        this.description = _description;
        this.status = _status;
    }
    #endregion

    #region Properties

    public string OrderID
    {
        get { return this.orderID; }
        set { this.orderID = value; }
    }

    public string CustomerName
    {
        get { return this.customerName; }
        set { this.customerName = value; }
    }

    public string DeliverName
    {
        get { return this.deliverName; }
        set { this.deliverName = value; }
    }

    public string DeliverAddress
    {
        get { return this.deliverAddress; }
        set { this.deliverAddress = value; }
    }

    public string Email
    {
        get { return this.email; }
        set { this.email = value; }
    }

    public string Phone
    {
        get { return this.phone; }
        set { this.phone = value; }
    }

    public string AccNo
    {
        get { return this.acc_no; }
        set { this.acc_no = value; }
    }

    public DateTime DateOfOrder
    {
        get { return this.dateOfOrder; }
        set { this.dateOfOrder = value; }
    }

    public string TimeNeedDeliver
    {
        get { return this.timeNeedDeliver; }
        set { this.timeNeedDeliver = value; }
    }

    public bool Status
    {
        get { return this.status; }
        set { this.status = value; }
    }

    public string Description
    {
        get { return this.description; }
        set { this.description = value; }
    }

    public IList<OrderingFoodDetailsInfo> OrderingFoodDetailsInfo
    {
        get { return this.orderingFoodDetailsInfo; }
        set { this.orderingFoodDetailsInfo = value; }
    }

    #endregion
}
